@import "../../../../shared/color";

.down-file-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 4px 0px;
	padding: 0px 12px;
	cursor: pointer;
	
	transition: background-color .4s;
	border-radius: 3px;
	background-color: rgba(228, 228, 228, 0.18);
	border: 1px dotted rgba(0, 0, 0, 0.08);
	
	
	& > div {
		display: flex;
		align-items: center;
		width: 100%;
		
		.file-type {
			width: 8px;
			height: 8px;
			border-radius: 50%;
			margin-right: 10px;
			margin-left: 10px;
			position: relative;
			top: 1px;
			
			&.plt {
				background-color: #4CAF50;
			}
			
			&.boke {
				background-color: #FF9800;
			}
		}
		
		.down-file-item-name {
			min-width: 200px;
			flex-grow: 1;
		}
	}
	
	.item-price {
		display: inline-block;
		margin-left: 10px;
		color: @primary-color;
		font-weight: bold;
		
		&.bought {
			color: #000000;
		}
	}
	
	&:hover {
		//background-color: #efefef;
		color: #000000;
	}
	
	& > div {
		i {
			color: #cccccc;
			margin-right: 12px;
			margin-left: 12px;
		}
		
		margin-right: 14px;
	}
	
	button {
		font-size: 16px;
		position: relative;
		top: 2px;
		
		span {
			color: #6a6a6a !important;
		}
	}
}